package cn.jlearn.proxy.common.packet;

import org.tio.core.intf.Packet;

/**
 * @author qianyingchao
 * @version 1.0
 * @date 2021/5/10 6:00 下午
 */
public class TcpPacket extends Packet {

    private static final long serialVersionUID = -1L;

    private byte[] body;

    public TcpPacket() {
    }

    public TcpPacket(byte[] body) {
        this.body = body;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }

}
